import { IAppMenuAbility } from '../ability';
import { AppMenuActionType } from '../event';
import { ICtrlControllerParams } from './i-ctrl-controller-params';

/**
 * 应用菜单控制器输入参数接口
 *
 * @export
 * @interface IAppMenuControllerParams
 * @extends {ICtrlControllerParams<AppMenuActionType, IAppMenuAbility>}
 */
export interface IAppMenuControllerParams<T, A extends IAppMenuAbility>
	extends ICtrlControllerParams<T | AppMenuActionType, A> {
	/**
	 * @description 应用起始页
	 * @type {boolean}
	 * @memberof IAppMenuControllerParams
	 */
	isDefaultPage: boolean;

	/**
	 * @description 空白首页模式
	 * @type {boolean}
	 * @memberof IAppMenuControllerParams
	 */
	isBlankMode: boolean;

	/**
	 * @description 默认视图
	 * @type {string}
	 * @memberof IAppMenuControllerParams
	 */
	defPSAppView?: string;

	/**
	 * 菜单样式
	 *
	 * @type {string}
	 * @memberof IAppMenuControllerParams
	 */
	menuStyle?: string;
}
